@mixin r-button-variant($background, $hover-background: darken($background, 7.5%), $active-background: darken($background, 10%)) {
  color: color-yiq($background);
  @include gradient-bg($background);

  @include hover() {
    color: color-yiq($hover-background);
    @include gradient-bg($hover-background);
  }

  &:focus,
  &.focus {
    color: color-yiq($hover-background);
    @include gradient-bg($hover-background);
  }
}
@font-face {
  font-family: 'RedactorFont';
  src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg9qEXoAAAC8AAAAYGNtYXDdl9ELAAABHAAAAGxnYXNwAAAAEAAAAYgAAAAIZ2x5ZkBSHx0AAAGQAAATQGhlYWQRfgRRAAAU0AAAADZoaGVhB2cDjwAAFQgAAAAkaG10eJKNB5AAABUsAAAAoGxvY2FbiFc2AAAVzAAAAFJtYXhwADMAbgAAFiAAAAAgbmFtZU+HikAAABZAAAABwnBvc3QAAwAAAAAYBAAAACAAAwP2AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAAD1DQNm/2cAmQNmAJkAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAUAAAABAAEAADAAAAAQAg5h/oIunf9Q3//f//AAAAAAAg5gDoIenf9Q3//f//AAH/4xoEGAMWRwsaAAMAAQAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAADAAD/9AQAAs8AAwAIAAwAABchESEFESERIQEtAREABAD8AAO2/JQDbP24AST+3AwC20n9tgJK/gDa3P5KAAAABgAAADwEAAKGAAQACQAOABIAFwAbAAABFSE1IR0BITUhHQEhNSEBFTM1BxUzNSMdATM1ASQC3P0kAtz9JALc/ST+3JKSkpKSAoaSktuTk9yTkwG3kpLbk5Pck5MAAAAAAgAA//QD+ALPAB0AMwAABTYnLgEnJgc1MA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oEAABWBAAAAAQAAAAEAAAABAAAAAQAAAAD9wABAwQAAAQAAAADkQALAAAAAAAKABQAHgA+AG4AwAD4AWABggHKAh4CngLCAzgDtgPEA94EAgQoBG4EsgTaBVIFygZEBm4GmAbyBxQHhAeiB7wH1gf0CCoIcgimCUYJoAAAAAEAAAAoAGwACgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAMAAAAAQAAAAAAAgAHAI0AAQAAAAAAAwAMAEUAAQAAAAAABAAMAKIAAQAAAAAABQALACQAAQAAAAAABgAMAGkAAQAAAAAACgAaAMYAAwABBAkAAQAYAAwAAwABBAkAAgAOAJQAAwABBAkAAwAYAFEAAwABBAkABAAYAK4AAwABBAkABQAWAC8AAwABBAkABgAYAHUAAwABBAkACgA0AOBSZWRhY3RvckZvbnQAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHRWZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBSZWRhY3RvckZvbnQAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHRSZWRhY3RvckZvbnQAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHRSZWd1bGFyAFIAZQBnAHUAbABhAHJSZWRhY3RvckZvbnQAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHRGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABhwAAsAAAAAGCQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgD2oRemNtYXAAAAFoAAAAbAAAAGzdl9ELZ2FzcAAAAdQAAAAIAAAACAAAABBnbHlmAAAB3AAAE0AAABNAQFIfHWhlYWQAABUcAAAANgAAADYRfgRRaGhlYQAAFVQ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EAAAAAAAUACwAkAAEAAAAAAAYADABpAAEAAAAAAAoAGgDGAAMAAQQJAAEAGAAMAAMAAQQJAAIADgCUAAMAAQQJAAMAGABRAAMAAQQJAAQAGACuAAMAAQQJAAUAFgAvAAMAAQQJAAYAGAB1AAMAAQQJAAoANADgUmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0VmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwUmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVndWxhcgBSAGUAZwB1AGwAYQByUmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0Rm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');
  font-weight: normal;
  font-style: normal;
}

.markItUp  {
	margin: 0 0 $spacer 0;
    .markItUpEditor {
        height: 200px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .markItUpHeader {
        ul {
            position: relative;
            margin: 0 !important;
            padding: 0 !important;
            list-style: none !important;
            &:after {
                content: "";
                display: table;
                clear: both;
            }
            li {
                position: relative;
                vertical-align: middle;
                display: inline-block;
                margin: 0 !important;
                outline: none;
                box-sizing: content-box;
                color: $gray-900;
                text-align: center;
                padding: $btn-padding-y*1.5 $btn-padding-x;
                cursor: pointer;
                a {
                    text-indent:-10000px;
                    height: 100%;
                    width: 100%;
                    top: 0;
                    left: 0;
                    text-decoration: none;
                    position: absolute;
                }
                &:hover {
                    outline: none;
                    background-color: $primary;
                    color: $white;
                }
            }
        }
        .smilepanel {
            display: none;
            padding: 0 0 $spacer 0;
        }
        .smilepanel > img {
            cursor: pointer;
            padding: $spacer/4 !important;
            display: inline-block;
            vertical-align: middle;
            border-radius: $border-radius;
        }
        .smilepanel > img:hover {
            background-color: $info;
        }
    }

    .markItUpHeader ul li {
        font-family: 'RedactorFont';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        &.btnBold:before  {
            content: "\e618";
        }
        &.btnItalic:before  {
            content: "\e60d";
        }
        &.btnUnderline:before  {
            content: "\e603";
        }
        &.btnStroke:before  {
            content: "\e615";
        }
        &.btnOl:before  {
            content: "\e601";
        }
        &.btnUl:before  {
            content: "\e60a";
        }
        &.btnQuote:before  {
            content: "\e608";
        }
        &.btnImg:before  {
            content: "\e60f";
        }
        &.btnImgUpload:before  {
            content: "\e61f";
        }
        &.btnLink:before  {
            content: "\e60b";
        }
        &.btnVideoYoutube:before  {
            content: "\e600";
        }
        &.btnVideoFacebook:before  {
            content: "\e600";
        }
        &.btnCode:before  {
            content: "\e612";
        }
        &.btnSmiles:before  {
            content: "\e9df";
        }
        &.btnSpoiler:before  {
            content: "\f50d";
        }
    }
}
.markItUpInlineUpload {
	position: absolute;
	z-index: 10000;
	width: auto;
	margin: $spacer*2;
	padding: $spacer;
	background-color: $info;
    color: $white;
	border-radius: $border-radius;
     > div {
         position: relative;
        padding: $spacer 0 0 0;
    }
    #inline_upload_form > input {
        margin: 0 $spacer/2 0 0;
    }
    #inline_upload_submit {
        margin: 0;
        vertical-align: middle;
        padding: $btn-padding-y $btn-padding-x;
        outline: none;
        border: none;
        @include r-button-variant($secondary);
        text-align: center;
        text-decoration: none;
        font-size: $btn-font-size;
        font-family: $btn-font-family;
        font-weight: $btn-font-weight;
        line-height: $btn-line-height;
        cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
    }
    #inline_upload_close {
        cursor: pointer;
        position: absolute;
        top: -$spacer*0.75;
        right: -$spacer*0.5;
        &:after {
            content: 'x';
        }
    }
}
#inline_upload_iframe { display: none; }